using System;
using Tarkin.InfrastructureLibrary.Core.Basic;
using NUnit.Framework;

namespace Tarkin.InfrastructureLibrary.Tests.Core.Basic
{
    /// <summary>
    /// CommentTests is the NUnit TestFixture for the Tarkin.InfrastructureLibrary.Core.Basic.Comment class.
    /// </summary>
    [TestFixture]
    public class CommentTests
    {
        [Test]
        public void TestConstructor ()
        {
            Comment comment = new Comment ( "Some Comment" );

            Assert.AreEqual ( "Some Comment", comment.Body );
        }

        [Test]
        public void TestAnnotatedElementsPropertyNotNull ()
        {
            Comment comment = new Comment ( "Some Comment" );

            Assert.AreNotEqual ( null, comment.AnnotatedElements );
        }
    }
}
